import request from '@/utils/request.js'
export const search = q => {
  return request({
    url: '/app/v1_0/suggestion',
    method: 'get',
    params: {
      q
    }
  })
}
export const searchFn = params => {
  return request({
    url: '/app/v1_0/search',
    method: 'get',
    params
  })
}
